package com.wsd.smartcarwasher.domain;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class TRefundRecord implements Serializable {
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private String userid;

    @ApiModelProperty(value = "编号")
    private String ordersn;

    @ApiModelProperty(value = "状态（-1开始处理，1完成）")
    private Byte refundstatus;

    @ApiModelProperty(value = "会员卡id")
    private Integer cardid;

    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @ApiModelProperty(value = "处理时间")
    private Date updatetime;

    @ApiModelProperty(value = "状态")
    private Byte status;

    @ApiModelProperty(value = "reqinfo通知回调结果")
    private String reqinfo;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getOrdersn() {
        return ordersn;
    }

    public void setOrdersn(String ordersn) {
        this.ordersn = ordersn;
    }

    public Byte getRefundstatus() {
        return refundstatus;
    }

    public void setRefundstatus(Byte refundstatus) {
        this.refundstatus = refundstatus;
    }

    public Integer getCardid() {
        return cardid;
    }

    public void setCardid(Integer cardid) {
        this.cardid = cardid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getReqinfo() {
        return reqinfo;
    }

    public void setReqinfo(String reqinfo) {
        this.reqinfo = reqinfo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userid=").append(userid);
        sb.append(", ordersn=").append(ordersn);
        sb.append(", refundstatus=").append(refundstatus);
        sb.append(", cardid=").append(cardid);
        sb.append(", createtime=").append(createtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", status=").append(status);
        sb.append(", reqinfo=").append(reqinfo);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}